<?php
  class Zend_View_Helper_Link extends Zend_View_Helper_Abstract{
    public function link($controller = null, $action = null, $name = null, $separator = false, $class = null, $style = null){
    	if($class != null){
    		$class = "class = '{$class}'";
    	}
    	else{
    		$class = "";
    	}
    	
    	if($style != null){
    		$style = "style = '{$style}'";
    	}
    	else{
    		$style = "";
    	}
      ?>
      <a href="<?php echo $this->view->url(array('controller' => $controller, 'action' => $action), 'default', true) ?>", <?php echo $class?> <?php echo $style?>><?php echo $name?></a>
      <?php
      if($separator ==  true){
        ?>
        <b>|</b>
        <?php   
      }  
    }
  }